import request from '@/utils/request'

// 查询在制品信息列表
export function listWIPs_info(query) {
  return request({
    url: '/flexiblescheduling/WIPs_info/list',
    method: 'get',
    params: query
  })
}

// 查询在制品信息详细
export function getWIPs_info(ID) {
  return request({
    url: '/flexiblescheduling/WIPs_info/' + ID,
    method: 'get'
  })
}

// 新增在制品信息
export function addWIPs_info(data) {
  return request({
    url: '/flexiblescheduling/WIPs_info',
    method: 'post',
    data: data
  })
}

// 修改在制品信息
export function updateWIPs_info(data) {
  return request({
    url: '/flexiblescheduling/WIPs_info',
    method: 'put',
    data: data
  })
}

// 删除在制品信息
export function delWIPs_info(ID) {
  return request({
    url: '/flexiblescheduling/WIPs_info/' + ID,
    method: 'delete'
  })
}
